package com.rainy.cloud.core.exception.definition;

import lombok.Data;

@Data
public class BaseException extends RuntimeException {

    private String code;

    private String message;

    public BaseException (String code, String message) {
        super(message);
        this.code = code;
        this.message = message;
    }

}
